using System;
using UnityEngine;
using UnityEngine.Events;

public class BuildPlatformHandler : MonoBehaviour
{
	[Serializable]
	[Flags]
	public enum Platform
	{
		None = 0,
		Editor = 1,
		Standalone = 2,
		Android = 4,
		iOS = 8,
		WebGL = 0x10
	}

	public Platform target;

	public UnityEvent callback;

	public static Platform current = Platform.Standalone;

	private void Awake()
	{
		// if ((current & target) != 0)
		// {
		// 	callback?.Invoke();
		// }
	}
}
